package com.simple.datax.flow.service.impl;

import java.util.List;

import com.simple.datax.cache.CacheBean;
import com.simple.datax.flow.dao.ibatis.FlowActivityDao;
import com.simple.datax.flow.dao.ibatis.model.FlowActivity;
import com.simple.datax.flow.dao.ibatis.model.FlowActivityInstance;
import com.simple.datax.flow.service.FlowActivityManager;

/** 
 * @Title: FlowActivityManagerImpl.java 
 * @Package com.simple.datax.flow.service.impl 
 * @Description: TODO(任务中的活动管理器) 
 * @author tonney 
 * @date 2012-12-31 上午11:16:21 
 * @version V1.0 
 */
public class FlowActivityManagerImpl implements FlowActivityManager {

	private FlowActivityDao flowActivityDao;

	public void setFlowActivityDao(FlowActivityDao flowActivityDao) {
		this.flowActivityDao = flowActivityDao;
	}

	@Override
	public List<FlowActivity> getFlowActivityListByFlowTemplateid(String flowid) {
		return flowActivityDao.getFlowActivityListByFlowTemplateid(flowid);
	}

//	@Override
//	public FlowActivity getFlowActivityByFlowidAndActivityNo(String flowid,
//			String activityNo) {
//		return null;
//	}
}
